package com.zzh.dialog;


import android.os.Bundle;

import com.zzh.dialog.databinding.ActTimeBinding;
import com.zzh.mvvm.base.BaseRabbitActivity;
import com.zzh.mvvm.base.vm.BaseViewModel;

/**
 * Created by zzh on 2025/2/13.
 *
 * @date: 2025/2/13 11:39
 * @email: zzh_hz@126.com
 * @author: zzh
 * @description: com.zzh.dialog
 */
public class TimeActivity extends BaseRabbitActivity<BaseViewModel, ActTimeBinding> {

    @Override
    protected void initViewAndData(Bundle savedInstanceState) {

        bind.cvCountupViewTest1.setTag("test1");
        long time1 = (long) 5 * 60 * 60 * 1000;
        bind.cvCountupViewTest1.start(time1);

        bind.cvCountupViewTest2.setTag("test2");
        long time2 = (long) 30 * 60 * 1000;
        bind.cvCountupViewTest2.start(time2);

        long time3 = (long) 9 * 60 * 60 * 1000;
        bind.cvCountupViewTest3.start(time3);

        long time4 = (long) 150 * 24 * 60 * 60 * 1000;
        bind.cvCountupViewTest4.start(time4);


        long time6 = (long) 2 * 60 * 60 * 1000;
        bind.cvCountupViewTest6.start(time6);


    }

    @Override
    protected int initVariableId() {
        return BR.viewModel;
    }
}
